package com.cmict.data.bpm.controller.admin.definition.vo.task;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

@ApiModel("管理后台 - 流程变量创建 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class TaskVariableCreateReqVO extends TaskVariableBaseVO {

    @ApiModelProperty(value = "用户列表", required = true)
    @NotNull(message = "用户列表")
    private List<String> userIds;

    private List<String> processInstanceIdList;

    private List<String> taskIdList;
}
